import axios from '@/api/fetch';
import SERVER from '@/api/server';
// 线索来源定义 >
// 根据级别与上级获取线索来源
export const queryClueSource = params => axios.get(`${SERVER.CYXDMS_CLUE}/basedata/clueSource/queryClueSource`, {params});
// 根据级别与上级获取线索来源
export const addClueSource = params => axios.post(`${SERVER.CYXDMS_CLUE}/basedata/clueSource/addClueSource`, params);
// 根据级别与上级获取线索来源
export const editClueSource = params => axios.post(`${SERVER.CYXDMS_CLUE}/basedata/clueSource/editClueSource`, params);
// 根据ID删除线索来源
export const removeClueSource = params => axios.delete(`${SERVER.CYXDMS_CLUE}/basedata/clueSource/removeClueSource`, {params});

